package com.xyx.bloodoxygenlib.impls;

import com.xyx.bloodoxygenlib.interfaces.ISender;
import com.xyx.bloodoxygenlib.utils.BLEHelper;

public class SenderBLE implements ISender {
    private BLEHelper mHelper;

    public SenderBLE(BLEHelper helper) {
        this.mHelper = helper;
    }

    @Override // com.creative.base.Isender
    public void send(byte[] d) {
        this.mHelper.write(d);
    }

    @Override // com.creative.base.Isender
    public void close() {
        this.mHelper = null;
    }
}
